
str = "global"
def outer():
    str="outer"
    def inner():
        # str = "inner"
        print(str)
        pass
    inner()

outer()